#ifndef _KEYTEMPLATE_H
#define _KEYTEMPLATE_H

#include "SearchKeyStructure.h"

#include <string>
using namespace std;

class KeyTemplate
{
	public:
		
		KeyTemplate();
		virtual ~KeyTemplate();

		KeyTemplate( const KeyTemplate& source );
		KeyTemplate& operator = ( const KeyTemplate& source );

		//naver
		SearchKeyStructure& Loadnaver() const;
		
		//tistory
		SearchKeyStructure& Loadtistory1() const;
		SearchKeyStructure& Loadtistory2() const;
		SearchKeyStructure& Loadtistory3() const;
		SearchKeyStructure& Loadtistory4() const;
		SearchKeyStructure& Loadtistory5() const;
		SearchKeyStructure& Loadtistory6() const;
		SearchKeyStructure& Loadtistory7() const;
		SearchKeyStructure& Loadtistory8() const;
		SearchKeyStructure& Loadtistory9() const;
		SearchKeyStructure& Loadtistory10() const;
		SearchKeyStructure& Loadtistory11() const;
		SearchKeyStructure& Loadtistory12() const;
		
		//egloos
		SearchKeyStructure& Loadegloos1() const;
		SearchKeyStructure& Loadegloos2() const;
		SearchKeyStructure& Loadegloos3() const;
		SearchKeyStructure& Loadegloos4() const;
		
		//daum
		SearchKeyStructure& Loaddaum1() const;
		SearchKeyStructure& Loaddaum2() const;

		
	private:
		
		SearchKeyStructure naver;
		
		SearchKeyStructure tistory1;
		SearchKeyStructure tistory2;
		SearchKeyStructure tistory3;
		SearchKeyStructure tistory4;
		SearchKeyStructure tistory5;
		SearchKeyStructure tistory6;
		SearchKeyStructure tistory7;
		SearchKeyStructure tistory8;
		SearchKeyStructure tistory9;
		SearchKeyStructure tistory10;
		SearchKeyStructure tistory11;
		SearchKeyStructure tistory12;
		
		SearchKeyStructure egloos1;
		SearchKeyStructure egloos2;
		SearchKeyStructure egloos3;
		SearchKeyStructure egloos4;

		SearchKeyStructure daum1;
		SearchKeyStructure daum2;

		
};
//naver
inline SearchKeyStructure& KeyTemplate::Loadnaver() const
{
	return const_cast<SearchKeyStructure&>(this->naver);
}


//tistory
inline SearchKeyStructure& KeyTemplate::Loadtistory1() const
{
	return const_cast<SearchKeyStructure&>(this->tistory1);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory2() const
{
	return const_cast<SearchKeyStructure&>(this->tistory2);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory3() const
{
	return const_cast<SearchKeyStructure&>(this->tistory3);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory4() const
{
	return const_cast<SearchKeyStructure&>(this->tistory4);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory5() const
{
	return const_cast<SearchKeyStructure&>(this->tistory5);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory6() const
{
	return const_cast<SearchKeyStructure&>(this->tistory6);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory7() const
{
	return const_cast<SearchKeyStructure&>(this->tistory7);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory8() const
{
	return const_cast<SearchKeyStructure&>(this->tistory8);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory9() const
{
	return const_cast<SearchKeyStructure&>(this->tistory9);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory10() const
{
	return const_cast<SearchKeyStructure&>(this->tistory10);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory11() const
{
	return const_cast<SearchKeyStructure&>(this->tistory11);
}

inline SearchKeyStructure& KeyTemplate::Loadtistory12() const
{
	return const_cast<SearchKeyStructure&>(this->tistory12);
}

//egloos
inline SearchKeyStructure& KeyTemplate::Loadegloos1() const
{
	return const_cast<SearchKeyStructure&>(this->egloos1);
}

inline SearchKeyStructure& KeyTemplate::Loadegloos2() const
{
	return const_cast<SearchKeyStructure&>(this->egloos2);
}

inline SearchKeyStructure& KeyTemplate::Loadegloos3() const
{
	return const_cast<SearchKeyStructure&>(this->egloos3);
}

inline SearchKeyStructure& KeyTemplate::Loadegloos4() const
{
	return const_cast<SearchKeyStructure&>(this->egloos4);
}


//daum
inline SearchKeyStructure& KeyTemplate::Loaddaum1() const
{
	return const_cast<SearchKeyStructure&>(this->daum1);
}

inline SearchKeyStructure& KeyTemplate::Loaddaum2() const
{
	return const_cast<SearchKeyStructure&>(this->daum2);
}


#endif
		
